package com.upcode.weighing.vo.pay.gift;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 礼品记录与Web端交互的Vo added leidong 2021/07/14
 * */
@Data
@EqualsAndHashCode(callSuper=false)
@ApiModel(value = "礼品记录Vo",description = "礼品记录Vo")
public class PayGiftRecordVo{
    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "礼品记录id")
    private Long id;//id
    @ApiModelProperty(value = "项目名称")
    private String projectName;
    @ApiModelProperty(value = "房屋信息")
    private String roomInfo;
    @ApiModelProperty(value = "缴费人")
    private String payPeople;
    @ApiModelProperty(value = "缴费人手机号")
    private String payPeoplePhone;
    @ApiModelProperty(value = "缴费时间")
    private LocalDateTime payTime;
    @ApiModelProperty(value = "领取礼品")
    private String giftName;
    @ApiModelProperty(value = "领取人")
    private String giftPeople;
    @ApiModelProperty(value = "领取时间")
    private LocalDateTime giftTime;
    @ApiModelProperty(value = "业主")
    private String proprietorName;

    //查询条件添加的字段
    @ApiModelProperty(value = "查询条件 项目id")
    private Long projectId;
    @ApiModelProperty(value = "查询条件 楼宇id")
    private Long towerId;
    @ApiModelProperty(value = "查询条件 楼宇id")
    private Long unitId;
    @ApiModelProperty(value = "查询条件 房号")
    private String roomNumber;
    @ApiModelProperty(value = "查询条件 缴费时间查询开始时间")
    private LocalDate payStartTime;
    @ApiModelProperty(value = "查询条件 缴费时间查询结束时间")
    private LocalDate payEndTime;
    @ApiModelProperty(value = "查询条件 领取时间查询开始时间")
    private LocalDate giftStartTime;
    @ApiModelProperty(value = "查询条件 领取时间查询结束时间")
    private LocalDate giftEndTime;
}
